<template><div><h1 id="系统热键" tabindex="-1"><a class="header-anchor" href="#系统热键" aria-hidden="true">#</a> 系统热键</h1>
<p>这是官方提供的 <a href="https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf" target="_blank" rel="noopener noreferrer">快捷键速查表(opens new window)<ExternalLinkIcon/></a>，下面是中文快捷键说明。</p>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl + Shift + P，F1</td>
<td>显示命令面板 Show Command Palette</td>
</tr>
<tr>
<td>Ctrl + P</td>
<td>快速打开 Quick Open</td>
</tr>
<tr>
<td>Ctrl + Shift + N</td>
<td>新窗口/实例 New window/instance</td>
</tr>
<tr>
<td>Ctrl + Shift + W</td>
<td>关闭窗口/实例 Close window/instance</td>
</tr>
</tbody>
</table>
<h3 id="基础编辑" tabindex="-1"><a class="header-anchor" href="#基础编辑" aria-hidden="true">#</a> 基础编辑</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl+X</td>
<td>剪切行（空选定） Cut line (empty selection)</td>
</tr>
<tr>
<td>Ctrl+C</td>
<td>复制行（空选定）Copy line (empty selection)</td>
</tr>
<tr>
<td>Alt+ ↑ / ↓</td>
<td>向上/向下移动行 Move line up/down</td>
</tr>
<tr>
<td>Shift+Alt + ↓ / ↑</td>
<td>向上/向下复制行 Copy line up/down</td>
</tr>
<tr>
<td>Ctrl+Shift+K</td>
<td>删除行 Delete line</td>
</tr>
<tr>
<td>Ctrl+Enter</td>
<td>在下面插入行 Insert line below</td>
</tr>
<tr>
<td>Ctrl+Shift+Enter</td>
<td>在上面插入行 Insert line above</td>
</tr>
<tr>
<td>Ctrl+Shift+\</td>
<td>跳到匹配的括号 Jump to matching bracket</td>
</tr>
<tr>
<td>Ctrl+] / [</td>
<td>缩进/缩进行 Indent/outdent line</td>
</tr>
<tr>
<td>Home</td>
<td>转到行首 Go to beginning of line</td>
</tr>
<tr>
<td>End</td>
<td>转到行尾 Go to end of line</td>
</tr>
<tr>
<td>Ctrl+Home</td>
<td>转到文件开头 Go to beginning of file</td>
</tr>
<tr>
<td>Ctrl+End</td>
<td>转到文件末尾 Go to end of file</td>
</tr>
<tr>
<td>Ctrl+↑ / ↓</td>
<td>向上/向下滚动行 Scroll line up/down</td>
</tr>
<tr>
<td>Alt+PgUp / PgDown</td>
<td>向上/向下滚动页面 Scroll page up/down</td>
</tr>
<tr>
<td>Ctrl+Shift+[</td>
<td>折叠（折叠）区域 Fold (collapse) region</td>
</tr>
<tr>
<td>Ctrl+Shift+]</td>
<td>展开（未折叠）区域 Unfold (uncollapse) region</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+[</td>
<td>折叠（未折叠）所有子区域 Fold (collapse) all subregions</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+]</td>
<td>展开（未折叠）所有子区域 Unfold (uncollapse) all subregions</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+0</td>
<td>折叠（折叠）所有区域 Fold (collapse) all regions</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+J</td>
<td>展开（未折叠）所有区域 Unfold (uncollapse) all regions</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+C</td>
<td>添加行注释 Add line comment</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+U</td>
<td>删除行注释 Remove line comment</td>
</tr>
<tr>
<td>Ctrl+/</td>
<td>切换行注释 Toggle line comment</td>
</tr>
<tr>
<td>Shift+Alt+A</td>
<td>切换块注释 Toggle block comment</td>
</tr>
<tr>
<td>Alt+Z</td>
<td>切换换行 Toggle word wrap</td>
</tr>
<tr>
<td>Ctrl+Alt</td>
<td>键盘上向上或者向下键，使一列上出现多个光标</td>
</tr>
<tr>
<td>Ctrl+Shift+l</td>
<td>选择相同的词统一编辑</td>
</tr>
<tr>
<td>Shift+Alt+鼠标拖动</td>
<td>选择区域进行编辑</td>
</tr>
</tbody>
</table>
<h3 id="导航控制" tabindex="-1"><a class="header-anchor" href="#导航控制" aria-hidden="true">#</a> 导航控制</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl + T</td>
<td>显示所有符号 Show all Symbols</td>
</tr>
<tr>
<td>Ctrl + G</td>
<td>转到行... Go to Line...</td>
</tr>
<tr>
<td>Ctrl + P</td>
<td>转到文件... Go to File...</td>
</tr>
<tr>
<td>Ctrl + Shift + O</td>
<td>转到符号... Go to Symbol...</td>
</tr>
<tr>
<td>Ctrl + Shift + M</td>
<td>显示问题面板 Show Problems panel</td>
</tr>
<tr>
<td>F8</td>
<td>转到下一个错误或警告 Go to next error or warning</td>
</tr>
<tr>
<td>Shift + F8</td>
<td>转到上一个错误或警告 Go to previous error or warning</td>
</tr>
<tr>
<td>Ctrl + Shift + Tab</td>
<td>导航编辑器组历史记录 Navigate editor group history</td>
</tr>
<tr>
<td>Alt + ←/→</td>
<td>返回/前进 Go back / forward</td>
</tr>
<tr>
<td>Ctrl + M</td>
<td>切换选项卡移动焦点 Toggle Tab moves focus</td>
</tr>
</tbody>
</table>
<h3 id="搜索和替换" tabindex="-1"><a class="header-anchor" href="#搜索和替换" aria-hidden="true">#</a> 搜索和替换</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl + F</td>
<td>查找 Find</td>
</tr>
<tr>
<td>Ctrl + H</td>
<td>替换 Replace</td>
</tr>
<tr>
<td>F3 / Shift + F3</td>
<td>查找下一个/上一个 Find next/previous</td>
</tr>
<tr>
<td>Alt + Enter</td>
<td>选择查找匹配的所有出现 Select all occurences of Find match</td>
</tr>
<tr>
<td>Ctrl + D</td>
<td>将选择添加到下一个查找匹配 Add selection to next Find match</td>
</tr>
<tr>
<td>Ctrl + K Ctrl + D</td>
<td>将最后一个选择移至下一个查找匹配项 Move last selection to next Find match</td>
</tr>
<tr>
<td>Alt + C / R / W</td>
<td>切换区分大小写/正则表达式/整个词 Toggle case-sensitive / regex / whole word</td>
</tr>
</tbody>
</table>
<h3 id="多光标和选择" tabindex="-1"><a class="header-anchor" href="#多光标和选择" aria-hidden="true">#</a> 多光标和选择</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Alt +单击</td>
<td>插入光标 Insert cursor</td>
</tr>
<tr>
<td>Ctrl + Alt +↑/↓</td>
<td>在上/下插入光标 Insert cursor above / below</td>
</tr>
<tr>
<td>Ctrl + U</td>
<td>撤消上一个光标操作 Undo last cursor operation</td>
</tr>
<tr>
<td>Shift + Alt + I</td>
<td>在选定的每一行的末尾插入光标 Insert cursor at end of each line selected</td>
</tr>
<tr>
<td>Ctrl + I</td>
<td>选择当前行 Select current line</td>
</tr>
<tr>
<td>Ctrl + Shift + L</td>
<td>选择当前选择的所有出现 Select all occurrences of current selection</td>
</tr>
<tr>
<td>Ctrl + F2</td>
<td>选择当前字的所有出现 Select all occurrences of current word</td>
</tr>
<tr>
<td>Shift + Alt + →</td>
<td>展开选择 Expand selection</td>
</tr>
<tr>
<td>Shift + Alt + ←</td>
<td>缩小选择 Shrink selection</td>
</tr>
<tr>
<td>Shift + Alt + （拖动鼠标）</td>
<td>列（框）选择 Column (box) selection</td>
</tr>
<tr>
<td>Ctrl + Shift + Alt +（箭头键）</td>
<td>列（框）选择 Column (box) selection</td>
</tr>
<tr>
<td>Ctrl + Shift + Alt + PgUp / PgDown</td>
<td>列（框）选择页上/下 Column (box) selection page up/down</td>
</tr>
<tr>
<td>zc</td>
<td>折叠代码块</td>
</tr>
<tr>
<td>zo</td>
<td>展开代码块</td>
</tr>
<tr>
<td>zC</td>
<td>折叠所有代码块</td>
</tr>
<tr>
<td>zO</td>
<td>展开所有代码块</td>
</tr>
</tbody>
</table>
<h3 id="语言编辑" tabindex="-1"><a class="header-anchor" href="#语言编辑" aria-hidden="true">#</a> 语言编辑</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl + 空格</td>
<td>触发建议 Trigger suggestion</td>
</tr>
<tr>
<td>Ctrl + Shift + Space</td>
<td>触发器参数提示 Trigger parameter hints</td>
</tr>
<tr>
<td>Tab</td>
<td>Emmet 展开缩写 Emmet expand abbreviation</td>
</tr>
<tr>
<td>Shift + Alt + F</td>
<td>格式化文档 Format document</td>
</tr>
<tr>
<td>Ctrl + K Ctrl + F</td>
<td>格式选定区域 Format selection</td>
</tr>
<tr>
<td>F12</td>
<td>转到定义 Go to Definition</td>
</tr>
<tr>
<td>Alt + F12</td>
<td>Peek 定义 Peek Definition</td>
</tr>
<tr>
<td>Ctrl + K F12</td>
<td>打开定义到边 Open Definition to the side</td>
</tr>
<tr>
<td>Ctrl + .</td>
<td>快速解决 Quick Fix</td>
</tr>
<tr>
<td>Shift + F12</td>
<td>显示引用 Show References</td>
</tr>
<tr>
<td>F2</td>
<td>重命名符号 Rename Symbol</td>
</tr>
<tr>
<td>Ctrl + Shift + . /，</td>
<td>替换为下一个/上一个值 Replace with next/previous value</td>
</tr>
<tr>
<td>Ctrl + K Ctrl + X</td>
<td>修剪尾随空格 Trim trailing whitespace</td>
</tr>
<tr>
<td>Ctrl + K M</td>
<td>更改文件语言 Change file language</td>
</tr>
</tbody>
</table>
<h3 id="窗口管理" tabindex="-1"><a class="header-anchor" href="#窗口管理" aria-hidden="true">#</a> 窗口管理</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl+F4, Ctrl+W</td>
<td>关闭编辑器 Close editor</td>
</tr>
<tr>
<td>Ctrl+K F</td>
<td>关闭文件夹 Close folder</td>
</tr>
<tr>
<td>Ctrl+\</td>
<td>拆分编辑器 Split editor</td>
</tr>
<tr>
<td>Ctrl+ 1 / 2 / 3</td>
<td>聚焦到第 1，第 2 或第 3 编辑器组 Focus into 1st, 2nd or 3rd editor group</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+ ←/→</td>
<td>聚焦到上一个/下一个编辑器组 Focus into previous/next editor group</td>
</tr>
<tr>
<td>Ctrl+Shift+PgUp / PgDown</td>
<td>向左/向右移动编辑器 Move editor left/right</td>
</tr>
<tr>
<td>Ctrl+K ← / →</td>
<td>移动活动编辑器组 Move active editor group</td>
</tr>
</tbody>
</table>
<h3 id="文件管理" tabindex="-1"><a class="header-anchor" href="#文件管理" aria-hidden="true">#</a> 文件管理</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl+N</td>
<td>新文件 New File</td>
</tr>
<tr>
<td>Ctrl+O</td>
<td>打开文件... Open File...</td>
</tr>
<tr>
<td>Ctrl+S</td>
<td>保存 Save</td>
</tr>
<tr>
<td>Ctrl+Shift+S</td>
<td>另存为... Save As...</td>
</tr>
<tr>
<td>Ctrl+K S</td>
<td>全部保存 Save All</td>
</tr>
<tr>
<td>Ctrl+F4</td>
<td>关闭 Close</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+W</td>
<td>关闭所有 Close All</td>
</tr>
<tr>
<td>Ctrl+Shift+T</td>
<td>重新打开关闭的编辑器 Reopen closed editor</td>
</tr>
<tr>
<td>Ctrl+K</td>
<td>输入保持打开 Enter Keep Open</td>
</tr>
<tr>
<td>Ctrl+Tab</td>
<td>打开下一个 Open next</td>
</tr>
<tr>
<td>Ctrl+Shift+Tab</td>
<td>打开上一个 Open previous</td>
</tr>
<tr>
<td>Ctrl+K P</td>
<td>复制活动文件的路径 Copy path of active file</td>
</tr>
<tr>
<td>Ctrl+K R</td>
<td>显示资源管理器中的活动文件 Reveal active file in Explorer</td>
</tr>
<tr>
<td>Ctrl+K O</td>
<td>显示新窗口/实例中的活动文件 Show active file in new window/instance</td>
</tr>
</tbody>
</table>
<h3 id="显示控制" tabindex="-1"><a class="header-anchor" href="#显示控制" aria-hidden="true">#</a> 显示控制</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>F11</td>
<td>切换全屏 Toggle full screen</td>
</tr>
<tr>
<td>Shift+Alt+1</td>
<td>切换编辑器布局 Toggle editor layout</td>
</tr>
<tr>
<td>Ctrl+ = / -</td>
<td>放大/缩小 Zoom in/out</td>
</tr>
<tr>
<td>Ctrl+B</td>
<td>切换侧栏可见性 Toggle Sidebar visibility</td>
</tr>
<tr>
<td>Ctrl+Shift+E</td>
<td>显示浏览器/切换焦点 Show Explorer / Toggle focus</td>
</tr>
<tr>
<td>Ctrl+Shift+F</td>
<td>显示搜索 Show Search</td>
</tr>
<tr>
<td>Ctrl+Shift+G</td>
<td>显示 Git Show Git</td>
</tr>
<tr>
<td>Ctrl+Shift+D</td>
<td>显示调试 Show Debug</td>
</tr>
<tr>
<td>Ctrl+Shift+X</td>
<td>显示扩展 Show Extensions</td>
</tr>
<tr>
<td>Ctrl+Shift+H</td>
<td>替换文件 Replace in files</td>
</tr>
<tr>
<td>Ctrl+Shift+J</td>
<td>切换搜索详细信息 Toggle Search details</td>
</tr>
<tr>
<td>Ctrl+Shift+C</td>
<td>打开新命令提示符/终端 Open new command prompt/terminal</td>
</tr>
<tr>
<td>Ctrl+Shift+U</td>
<td>显示输出面板 Show Output panel</td>
</tr>
<tr>
<td>Ctrl+Shift+V</td>
<td>切换 Markdown 预览 Toggle Markdown preview</td>
</tr>
<tr>
<td>Ctrl+K V</td>
<td>从旁边打开 Markdown 预览 Open Markdown preview to the side</td>
</tr>
</tbody>
</table>
<h3 id="代码调试" tabindex="-1"><a class="header-anchor" href="#代码调试" aria-hidden="true">#</a> 代码调试</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>F9</td>
<td>切换断点 Toggle breakpoint</td>
</tr>
<tr>
<td>F5</td>
<td>开始/继续 Start/Continue</td>
</tr>
<tr>
<td>Shift+F5</td>
<td>停止 Stop</td>
</tr>
<tr>
<td>F11 / Shift+F11</td>
<td>下一步/上一步 Step into/out</td>
</tr>
<tr>
<td>F10</td>
<td>跳过 Step over</td>
</tr>
<tr>
<td>Ctrl+K Ctrl+I</td>
<td>显示悬停 Show hover</td>
</tr>
</tbody>
</table>
<h3 id="集成终端" tabindex="-1"><a class="header-anchor" href="#集成终端" aria-hidden="true">#</a> 集成终端</h3>
<table>
<thead>
<tr>
<th>按 Press</th>
<th>功能 Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ctrl+`</td>
<td>显示集成终端 Show integrated terminal</td>
</tr>
<tr>
<td>Ctrl+Shift+`</td>
<td>创建新终端 Create new terminal</td>
</tr>
<tr>
<td>Ctrl+Shift+C</td>
<td>复制选定 Copy selection</td>
</tr>
<tr>
<td>Ctrl+Shift+V</td>
<td>粘贴到活动端子 Paste into active terminal</td>
</tr>
<tr>
<td>Ctrl+↑ / ↓</td>
<td>向上/向下滚动 Scroll up/down</td>
</tr>
<tr>
<td>Shift+PgUp / PgDown</td>
<td>向上/向下滚动页面 Scroll page up/down</td>
</tr>
<tr>
<td>Ctrl+Home / End</td>
<td>滚动到顶部/底部 Scroll to top/bottom</td>
</tr>
</tbody>
</table>
</div></template>


